/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    width: 100%;
    min-width: 1280px;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}
.fl{ float: left;}  .fr{ float: right;}
a{text-decoration: none;}
p{ text-indent: 2em;}
li::marker {
    content: "";      /* 清空标记内容 */
    display: none;    /* 隐藏标记 */
  }

/* 顶部样式 */
header{ overflow: hidden;}
.host {
    background-color: #f5f5f5;
    padding: 8px 0;
}

.host-content {
    max-width: 1280px;
    margin: 0 auto;
    color: #666;
    font-size: 14px;
}

.host-content a {
    color: #666;
    text-decoration: none;
}

.host-content a:hover {
    color: #e31717;
}

.top-banner{ overflow:hidden; margin: 30px auto 30px;}
.page {
    max-width: 1280px;
    margin: 0 auto;
}

.main-nav {
    background-color: #e31717;
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav li {
    margin: 0 26px;
    height: 32px;
}

.main-nav a {
    color: white;
    font-size:20px;

}
.main-nav a:hover {
    color: #ffdfa3;
    font-size: 20px;

}

/* 主要内容区样式 */
main {
    max-width: 1280px;
    margin:30px auto;
}

.ideology-banner {
    margin-bottom: 20px;
}

.red-banner {
    text-align: center;
    margin: 0 auto;

}
 /* 头条 */
 .row{ padding: 20px; background: #f4f4f4;}
 .news-title {
    text-align: center;
}

.news-title h1 {
    font-size: 42px;
    font-weight: bold;
}
.news-title h1 a {
    font-size: 42px;
    font-weight: bold;
    color: #000;
}

.news-title h1 a:hover{
    color: #2b2a2ad5;
}

.news-subtitle ul {
    list-style: none;
    text-align: center;
}

.news-subtitle li {
    margin:10px auto;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
    width: 85%;
}

.news-subtitle li:before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #e31717;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


.news-subtitle a {
    color: #8d8d8d;
    text-decoration: none;
}

.news-subtitle a:hover {
    color: #e31717;
}

.news-subtitle .more {
    margin-top: 15px;
}

.red-more {
    color: #e31717 !important;
    margin-left: 20px;
}

.news-container{ margin-top:30px;}

.main-focus{ width:779px ;}
.main-news{ width: 454px;}
/* 文明播报 */
.main-focus {
    width: 779px;
    margin-right: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3 {
    color: #fff;
    font-size: 20px;
    position: relative;
    padding-left:50px;
    background: url(bt2025n.png) no-repeat left;
    width: 154px;
    height: 46px;
    line-height: 46px;
}

.section-header h3:hover{
    color: #ffdfa3;
}


.focus-slider {
    position: relative;
    width: 100%;
    height:513px;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
}

.slider-item {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 14px;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom:13px;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.slider-dots {
    position: absolute;
    bottom: 17px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}
/* 要闻 */
.main-news {
    width:448px;
    background: #fff;
    box-sizing: border-box;
}

.news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.news-list li a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}



.news-list li a:hover {
    color: #c12c1f;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
}

/* 区县动态 */
.special-counties{ margin-top:60px; overflow: hidden; float: left; width: 100%;}
.counties{
    width: 779px;
    background: #fff;
    box-sizing: border-box;
}

.counties-content {
    margin-top: 15px;
}

.featured-news {
    margin-bottom: 20px;
    width: 388px;
    height: 275px;
}

.news-image {
    position: relative;
    margin-bottom: 15px;
}

.news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.image-title {
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
    padding: 2px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

.news-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    width: 370px;
}
.news-text h1 a{ font-size: 20px;color: #666;}
.news-text h1 a:hover{ color: #333;}
.news-text p{ font-size: 14px; margin-top: 10px;}

.news-text .detail {
    color: #c12c1f;
    text-decoration: none;
}

.counties .news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 370px;
}

.counties .news-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ddd;
}

.counties .news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding-left: 15px;
    position: relative;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.counties .news-list li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #d74339;
    border-radius: 50%;
}

.counties .news-list li a:hover {
    color: #c12c1f;
}


/*文明创建 */
.pages{ margin: 40px auto 0; width: 100%; overflow: hidden; float: left;}
.tit{ padding-left:44px; background: url(tb2025n.png) no-repeat left 14px; width: 191px; margin: 0 auto 30px; }
.tit a{
    color: #d52014;
    font-size: 34px; font-weight: bold;  
}
.tit a:hover{ color: #c12c1f;}
.wmcj {
    background: #fff;
    overflow: hidden;
    width: 854px;
}

.tab-nav {
    width:854px; background: #ffecdd;height: 60px; text-align: center;
}

.tab-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-nav li {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s;
    width: 19.6%;
    float: left;
    font-weight: bold;
    position: relative;
    color: #a78543;
}

.tab-nav li a{
    color: #a78543;
}

.tab-nav li.active {
    color: #c12c1f;
    border-bottom-color: #c12c1f;
}

.tab-nav li.active a{
    color: #c12c1f;
}

.tab-nav li.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: url(jt2025n.png) no-repeat center;
    background-size: contain;
}

.tab-content { margin-top: 20px; width: 100%;
    
}
.m1{ float: left; overflow: hidden; width: 100%;}
.tab-pane,.tab-pane1 {
    display: none;
    overflow: hidden;
}

.tab-pane.active,.tab-pane1.active {
    display: block;
}

.tab-pane .news-image {
    width: 45%;
}

.tab-pane .news-image img {
    width: 100%;
    height:152px;
    object-fit: cover;
}

.tab-pane .news-list {
    width: 52%;
}

.tab-pane .news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-pane .news-list li {
    padding: 12px 0;
    border-bottom: 1px dotted #ddd;
}

.tab-pane .news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding-left: 15px;
    position: relative;
    display: block;
}

.tab-pane .news-list li a:hover {
    color: #c12c1f;
}

.tab-pane .news-list li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
}
.imgs1 {
    width: 385px;
}

.festival-section {
    background: #fff;
    border-radius: 5px;
}

.festival-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.festival-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.festival-header h3 {
    color: #c12c1f;
    font-size: 18px;
    margin: 0;
}

.festival-image {
    margin:30px 0 15px 0;
}

.festival-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.festival-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.festival-news li {
    padding: 10px 0;
    border-bottom: 1px dotted #ddd;
}

.festival-news li:last-child {
    border-bottom: none;
}

.festival-news li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding-left: 15px;
    position: relative;
    display: block;
    line-height: 1.5;
}

.festival-news li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: #c12c1f;
    border-radius: 50%;
}

.festival-news li a:hover {
    color: #c12c1f;
}


/*文明创建 */
.pages{ margin: 40px auto 0; width: 100%; overflow: hidden; float: left;}
.tit{ color: #d52014; padding-left:44px; font-size: 34px; font-weight: bold;  background: url(tb2025n.png) no-repeat left 14px; width: 300px; margin: 0 auto 30px; }

.wmcj {
    background: #fff;
    overflow: hidden;
    width: 854px;
}

.tab-nav {
    width:854px; background: #ffecdd;height: 60px; text-align: center;
}

.tab-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-nav li {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s;
    width: 19.6%;
    float: left;
    font-weight: bold;
    position: relative;
}

.tab-nav li.active {
    color: #c12c1f;
    border-bottom-color: #c12c1f;
}

.tab-nav li.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: url(jt2025n.png) no-repeat center;
    background-size: contain;
}

.tab-content { margin-top: 20px; width: 100%;
    
}
.m1{ float: left; overflow: hidden; width: 100%;}
.tab-pane {
    display: none;
    overflow: hidden;
}

.tab-pane.active {
    display: block;
}

.tab-pane .news-image {
    width: 45%;
}

.tab-pane .news-image img {
    width: 100%;
    height:152px;
    object-fit: cover;
}

.tab-pane .news-list {
    width: 52%;
}

.tab-pane .news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-pane .news-list li {
    padding: 12px 0;
    border-bottom: 1px dotted #ddd;
}

.tab-pane .news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding-left: 15px;
    position: relative;
    display: block;
}

.tab-pane .news-list li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
}
.imgs{ width: 385px;}
/*文明培育 */
.imgs2 {
    width: 385px;
}

.qrcode-section {
    background: #fef6ed;
    padding:10px 0 10px 0;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 5px;
}

.qrcode-box img {
    width:80%;
    margin-bottom: 10px;
}

.qrcode-box p {
    color: #666;
    font-size: 16px;
    margin: 0;
    text-indent: 0;
}

.clue-collection {
    margin-top: 20px;
}

.clue-collection img {
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s;
}

.clue-collection img:hover {
    opacity: 0.9;
}
.qrcode-box{ width: 52%; margin: 0 auto;}

/*魅力自贡 */
.silder1{margin:0 auto 0; width:1280px;}
.silder-box-1{position:relative; margin:32px 0 32px 0;}
.silder-box-1 li{margin:10px auto 0;}
.silder-box-1 li img{display:block;  width:290px; height:166px;}
.silder-box-1 li p{ text-align: center; text-indent: 0; margin: 10px auto 0;}
.silder-button{top:100px;width:15px;height:21px;position:absolute;cursor:pointer;}



/*网站链接 */
.link{ font-size:16px;width: 100%;}
.tab-link{ height:50px; background:url(xt2025n.png) repeat-x bottom;}
.tab-link p{ font-size:26px; color:#333; width:170px; float:left; line-height:48px; text-indent:0;  }
.tab-link span{ display:block; line-height:48px; padding:0 20px; color:#666; float:left;font-size:18px; cursor:pointer;}
.t-on2{ background:#fff; height:50px; border-left:1px #D40000 solid; border-right:1px #D40000 solid; border-top:1px #D40000 solid; color:#D40000 !important;}
.link-li{ overflow:hidden; padding:20px 0;}
.link-li a{ display:block; float:left; line-height:30px; margin-right:30px; color: #636363;}
.mt40{margin-top: 40px;}

/*底部版权 */
.footer-content{ background: #d52014; text-align: center; color: #fff; float: left;    width: 100%;
    line-height: 50px; height: 100px;
    margin-top: 30px;}

footer{ float: left; overflow: hidden; width: 100%; text-align: center;}

.img-hover,.img-hover-1{transition: all .3s}
.img-hover:hover{transform: scale(1.02);}
.img-hover-1:hover{
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    main {
        padding: 10px;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .red-banner {
        font-size: 18px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .main-nav a {
        font-size: 14px;
    }

    .red-banner {
        font-size: 16px;
    }
}


